package com.font.web.system;

import com.font.bean.result.Result;
import com.font.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/system")
public class MenuContrller {
    @Autowired
    MenuService menuService;

    @RequestMapping("menuList")
    public Result MenuList(){
        return  menuService.MenuList();
    }
}
